package com.system.demo.doMain.entity;

public class LogInResult {

    private String roles;
    private User user;
    private String token;
    private int expiredAt;

    public LogInResult() {
    }

    public LogInResult(String roles, User user, String token, int expiredAt) {
        this.roles = roles;
        this.user = user;
        this.token = token;
        this.expiredAt = expiredAt;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getExpiredAt() {
        return expiredAt;
    }

    public void setExpiredAt(int expiredAt) {
        this.expiredAt = expiredAt;
    }
}
